<script setup lang="ts">
let data1 = [
  {
    name: '导航一',
    index: '1',
    icon: 'el-icon-document'
  },
  {
    name: '导航二',
    index: '2',
    icon: 'el-icon-document'
  },
  {
    name: '导航三',
    index: '3',
    icon: 'el-icon-document',
    children: [
      {
        name: '导航三-一',
        index: '3-1',
        icon: 'el-icon-document'
      },
      {
        name: '导航三-二',
        index: '3-2',
        icon: 'el-icon-document'
      }
    ]
  }
]
</script>

<template>
  <MyMenu :menus="data1" defaultActive="1" :router="false" />
</template>

<style lang="scss" scoped></style>
